package com.bbs.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import com.bbs.pojo.AdminInfo;
import com.bbs.pojo.User;

@Mapper
public interface UserMapper {
	//用户注册
	public void regist(User user);

	//用户登陆
	public User login(@Param(value = "username") String username, @Param(value = "password") String password);

	//ajax
	public List<User> findUser(String username);
	
}
